export const TABLE_CLOUMNS = [
  {
    label: '序号',
    prop: 'index'
  },
  {
    label: '所属学科',
    prop: 'subjectName'
  },
  {
    label: '标签名称',
    prop: 'tagName'
  }, {
    label: '创建者',
    prop: 'username'
  }, {
    label: '创建日期',
    prop: 'addDate'
  }, {
    label: '状态',
    prop: 'state'
  }, {
    label: '操作',
    width: 300,
    fixed: 'right',
    children: [
      {
        type: 'button',
        name: '禁用',
        key: 'forbidden'
      },
      {
        type: 'button',
        name: '修改',
        key: 'correct'
      },
      {
        type: 'button',
        name: '删除',
        key: 'delete'
      }
    ]
  }]
export const FILTERS = [
  {
    props: {
      label: '标签名称'
    },
    componentpoprs: {
      placeholder: '',
      clearable: true
    },
    type: 'input',
    value: '',
    key: 'tagName',
    children: [
    ]
  },
  {
    props: {
      label: '状态'
    },
    componentpoprs: {
      placeholder: '请选择',
      clearable: true
    },
    type: 'select',
    value: '',
    key: 'departmentId',
    children: [
      {
        label: '启用',
        value: 1
      }, {
        label: '禁用',
        value: 0
      }
    ]
  }
]
export const BTNS = [
  {
    name: '清除',
    key: 'delete',
    props: {
    }
  }, {
    name: '搜索',
    key: 'search',
    props: {
      type: 'primary'
    }
  }, {
    name: '新增目录',
    key: 'addSubject',
    props: {
      type: 'success',
      icon: 'el-icon-edit',
      class: 'right'
    }
  }

]
